home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / ohlcpio.zip / EXTERN.H < prev    next >
C/C++ Source or Header  |  1990-07-07  |  2KB  |  73 lines

  1. /* extern.h - External declarations for cpio.
  2.    Copyright (C) 1988, 1989, 1990 Free Software Foundation, Inc.
  3.  
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 1, or (at your option)
  7.    any later version.
  8.  
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.  
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18. extern int reset_time_flag;
  19. extern int io_block_size;
  20. extern int binary_flag;
  21. extern int portability_flag;
  22. extern int create_dir_flag;
  23. extern int rename_flag;
  24. extern int table_flag;
  25. extern int unconditional_flag;
  26. extern int verbose_flag;
  27. extern int link_flag;
  28. extern int retain_time_flag;
  29. extern int copy_matching_files;
  30. extern int numeric_uid;
  31.  
  32. extern char *input_buffer, *output_buffer;
  33. extern char *in_buff, *out_buff;
  34. extern int input_size, output_size;
  35. extern int input_bytes, output_bytes;
  36. extern char *directory_name;
  37. extern char **save_patterns;
  38. extern int num_patterns;
  39. extern char input_is_special;
  40. extern char output_is_special;
  41. extern char input_is_seekable;
  42. extern char output_is_seekable;
  43. extern char *program_name;
  44. extern int (*xstat) ();
  45. extern void (*copy_function) ();
  46.  
  47. long lseek ();
  48. char *malloc ();
  49. char *realloc ();
  50.  
  51. char *copystring ();
  52. char *find_inode_file ();
  53. char *getgroup ();
  54. char *getuser ();
  55. char *xmalloc ();
  56. void add_inode ();
  57. void copy_buf_out ();
  58. void copy_files ();
  59. void copy_in_buf ();
  60. void create_all_directories ();
  61. void empty_output_buffer ();
  62. void error ();
  63. void finish_output_file ();
  64. void get_next_reel ();
  65. void hash_insert ();
  66. void long_format ();
  67. void process_copy_in ();
  68. void process_copy_out();
  69. void process_copy_pass ();
  70. void protection ();
  71. void toss_input ();
  72. void write_out_header ();
  73.